<{include file="header.htm"}>
<script src="<{$config.weburl}>/script/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="<{$config.weburl}>/script/base.js" type="text/javascript"></script>
<script type="text/javascript" src="<{$config.weburl}>/script/jquery.ui.js"></script>
<script type="text/javascript" src="<{$config.weburl}>/script/dialog/dialog.js" id="dialog_js"></script>
<script type=text/javascript>
	var allnotblank='<{$lang.allisnotblank}>';
	var passlength='<{$lang.passisnotlowfour}>';
	var passistooleng='<{$lang.passisnotlongtenw}>';
	var passnotsame='<{$lang.passisnotsame}>';
	var emailerror='<{$lang.emailiserror}>';
	var changeemil='<{$lang.changeemil}>';
	var randcodeerror='<{$lang.codeiserror}>';
	var randcodeisemp='<{$lang.codeisempty}>';
	var rcodeiserror='<{$lang.randcodeerror}>';
	var enterusername='<{$lang.usernameisblank}>';
	var unameisfour='<{$lang.usernameislowfour}>';
	var unameisen='<{$lang.usernameisen}>';
	var usernameprotect='<{$lang.usernameisprotect}>';
	var have_blank='<{$lang.have_blank}>';
	function dis()
	{
		if($('#submitreg').attr('disabled')==false)
			$('#submitreg').attr('disabled',true);
		else
			$('#submitreg').attr('disabled',false);
	}
</script>
<script src="<{$config.weburl}>/script/register.js" type=text/javascript></script>
<script type="text/javascript" charset="utf-8" src="<{$config.weburl}>/script/jquery.ui.js" ></script>
<script type="text/javascript" id="dialog_js" charset="utf-8" src="<{$config.weburl}>/script/dialog/dialog.js" ></script>
<header>
	<div class="nav-w">
    	<section class="nav-s"><a href="<{$config.weburl}>"><nav>首页</nav></a></section>
    	<section class="nav-c"><span>会员登录</span></section>
    	<section class="nav-e"></section>
    </div>
</header>
<link href="<{$config.weburl}>/templates/wap/css/register.css" rel="stylesheet" type="text/css" />
<section class="register">

<{if $config.closetype==2}>
<div style="height:300px; padding-top:150px; color:#FF0000; border: 1px solid #A9B9D3; font-size:16px"> <{$config.closecon}></div>
<{else}>

<form action="" method="post">
<table>
	<tr>
    	<td>
         <input onblur="check_user();" name="user" type="text" id="user" placeholder="用户名"/>
         <div id="tishi"></div>
        </td>
    </tr>
	<tr>
    	<td>
      	<input onblur="check_email();" name="email" type='email' id="email" placeholder="邮箱"/>
        <div id="tishi_email"></div>
        </td>
    </tr>
	<tr>
    	<td>
        <input type="password" name="password" id="password" placeholder="密码"/>
        </td>
    </tr>
	<tr>
    	<td>
        <input type="password" name="re_password" id="re_password" placeholder="确认密码"/>
        </td>
    </tr>
	<tr>
    	<td>
        <input name="yzm" type="text" id="yzm" onChange="check_yzm()"  placeholder="验证码" />
		<img onclick="get_randfunc(this);" src='<{$config.weburl}>/includes/rand_func.php'/>
        <div id="tishi2"></div>
        </td>
    </tr>
	<tr>
    	<td>
		<input type='submit' name='submitreg' id="submitreg" value='注册'  onClick="return check()"/>
        </td>
    </tr>
</table>
</form>  
<{/if}>
<{include file="footer.htm"}>